package com.example.demo.model;

import lombok.Data;

@Data
public class RequestPage {
    //每页多少条数据

    private Integer pageSize = 10;
    //当前第几条

    private Integer currentPage =1;
    public Integer offset(){
        return (currentPage-1)*pageSize;
    }

}
